package com.meisupic.copyright.domain.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

@Data
public class MemberCategoryVo implements Serializable {

  private Long id;

  private String categoryName;

  private BigDecimal price;

  private BigDecimal discountPrice;

  private String serviceTotal;

  public String getServiceTotal() {
    if ("-1".equals(serviceTotal)) {
      return "不限制";
    }
    return serviceTotal;
  }
}
